from django.db import models


class BASEModel(models.Model):
    create_time = models.DateTimeField(auto_now_add=True)    # 时分秒,自动生成
    update_time = models.DateTimeField(auto_now=True)

    class Meta:

        # BASEModel不会数据库迁移
        abstract = True